package com.system.arrangement.service;

import com.system.arrangement.been.RegistrationPoolList;
import lombok.Data;
import org.springframework.stereotype.Service;

/**
 * @author 林
 */
@Service
public abstract class Builder {
    //创建产品对象
    protected RegistrationPoolList product = new RegistrationPoolList();
    public abstract void buildPoolId(Integer poolId);
    public abstract void buildArrangementId(Integer arrangementId);
    public abstract void buildRegistrationPrice(double registrationPrice);
    public abstract void buildRegistrationNum(Integer registrationNum);
    public abstract void buildAddNum();
    public abstract void buildLockNum();
    public abstract void buildBgnTm(String bgnTm);
    public abstract void buildEndTm(String endTm);
    //返回产品对象
    public RegistrationPoolList getResult() {
        return product;
    }
}
